import React from 'react';
import { Breadcrumb } from 'antd';
import { AxTabTitleCard } from '@/components/AxBase';

const tabList = [{
    key: 'tab01',
    tab: '结算中',
    url: '/seller/apply',
}, {
    key: 'tab02',
    tab: '结算失败',
    url: '/seller/apply/fail',
}, {
    key: 'tab03',
    tab: '已结算',
    url: '/seller/apply/success',
}];
const Layout: React.FC<any> = ({ children }) => {

    return (
        <AxTabTitleCard
            title={
                <Breadcrumb separator=">">
                    <Breadcrumb.Item>卖家中心</Breadcrumb.Item>
                    <Breadcrumb.Item>结算申请</Breadcrumb.Item>
                </Breadcrumb>
            }
            tabList={tabList}
        >
            {children}
        </AxTabTitleCard>
    );
};

export default Layout;



